Skip to content

feat(coalesce): add size function - #10331

Merged
Jefffrey merged 11 commits into
apache:mainfrom
rluvaton:add-size-to-coalescer
Jul 24, 2026
Merged

feat(coalesce): add size function#10331
Jefffrey merged 11 commits into
apache:mainfrom
rluvaton:add-size-to-coalescer

Conversation

@rluvaton

@rluvaton rluvaton commented Jul 13, 2026

Copy link
Copy Markdown
Member

Which issue does this PR close?

N/A

But this is prerequisite for:

Rationale for this change

We want to be able to reserve memory for the data that BatchCoalescer is using in DataFusion and other places

What changes are included in this PR?

added size functions and implement sizing + tests

Are these changes tested?

Yes

Are there any user-facing changes?

yes, new function

@github-actions github-actions Bot added the arrow Changes to the arrow crate label Jul 13, 2026

@mzabaluev mzabaluev left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, I only have some editorial changes for the comments.

Comment thread arrow-select/src/coalesce/generic.rs Outdated
Comment thread arrow-select/src/coalesce.rs Outdated
Co-authored-by: Mikhail Zabaluev <mikhail.zabaluev@gmail.com>

@Rich-T-kid Rich-T-kid left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, I think this will be a nice addition to datafusion

@Jefffrey
Jefffrey merged commit f9bf628 into apache:main Jul 24, 2026
30 checks passed
@Jefffrey

Copy link
Copy Markdown
Contributor

thanks @rluvaton, @mzabaluev & @Rich-T-kid

@rluvaton
rluvaton deleted the add-size-to-coalescer branch July 24, 2026 04:48
@Jefffrey Jefffrey added the enhancement Any new improvement worthy of a entry in the changelog label Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arrow Changes to the arrow crate enhancement Any new improvement worthy of a entry in the changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants